#ifndef PROTOCOL_HEAD_
#define PROTOCOL_HEAD_ 1

#define CUR_VERSION  "010000"
#define FDJ_VERSION  "020000"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "crypto/crypto.h"

// ͨѶЭͷ
typedef struct _DATA_HEAD 
{

	bool CheckMD5();

	void CreateMD5();

	void Init(char* pVersion = CUR_VERSION);

	char strVersion[6];
	char strTime[16];
	unsigned char strMd5[32];

} DATA_HEAD;


#endif //PROTOCOL_HEAD_
